<div class="bannercycle">
	<?php $banner = cc_get_banner(); ?>
	<?php if( count($banner) > 0 ){ ?>
			<?php foreach($banner as $key => $val) { ?>
					<?php if( trim($val['imageurl']) != '' ){ ?>
							<a href="<?php echo $val['imageurl']; ?>">
								<img src="<?php echo $val['imagebig'];?>">
							</a>	
					<?php }else{ ?>
							<img src="<?php echo $val['imagebig'];?>">
					<?php } ?>
					
			<?php } ?>
	<?php } ?>
</div>